package ifwhilefor;

public class ZeroPointOneMmToEverest {
    public static void main(String[] args) {
        double THE_THOTP = 0.1,THE_HOME=8844430;
        int count = 0;
        while (THE_THOTP < THE_HOME) {
            THE_THOTP *= 2;
            count++;
        }
        System.out.println("一张0.1mm的纸折叠" + count + "次后,比珠穆朗玛峰高,高度为" + THE_THOTP / 1000 + "m");
    }
}
